package util;

/**
 * 游戏求解器的接口: 责任链模式
 * handleRequest计算
 * setNextHandler设置下一个
 */
public interface GameHandler {
    String[] OPERATORS = "+ - * /".split("\\s+");
    double TARGET = 24.0;
    double EPS = 1e-6;

    void handleRequest();

    void setNextHandler(GameHandler nextHandler);

    boolean solve();
}
